home *** CD-ROM | disk | FTP | other *** search
- on mouseCheck checkList
- -- Copyright 1995 Interactive Media Design, Inc.
- -- checkList - a two dimentional list that is passed containing a sprite number
- -- - and a frame number or marker label.
- -- format is [[1,"first"],[2,300],....]
- global whereTo
- if soundBusy(1) then
- puppetSound 0
- end if
- if voidP(checkList) then
- repeat with x = 1 to count(whereTo)
- if getAt(getAt(whereTo,x),1) = the clickOn then
- set the locH of sprite 40 = getAt(getAt(whereTo,x),3)
- resetPuppet 1
- go to getAt(getAt(whereTo,x),2)
- exit
- end if
- end repeat
- else
- repeat with x = 1 to count(checkList)
- if getAt(getAt(checkList,x),1) = the clickOn then
- resetPuppet 1
- go to getAt(getAt(checkList,x),2)
- exit
- end if
- end repeat
- end if
- end